<%-- 
    Document   : search_content
    Created on : 18-Jul-2013, 21:41:42
    Author     : MrMAD
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>

        <style>
            td{
                padding: 10px;
            }
            button{
                background: url("http://localhost:8080/FinalProject/images/templatemo_h1_bg.jpg") no-repeat scroll center center transparent;
                color: #FFFFFF;
                display: block;
                float: left;
                height: 30px;
                line-height: 25px;
                margin: 10px 0 0;
                text-align: center;
                text-decoration: none;
                width: 100px;
            }
            #button{
                background: url("http://localhost:8080/FinalProject/images/templatemo_h1_bg.jpg") no-repeat scroll center center transparent;
                color: #FFFFFF;
                display: block;
                float: left;
                height: 30px;
                line-height: 25px;
                margin: 10px 0 0;
                text-align: center;
                text-decoration: none;
                width: 100px;
            }
            input{
                width: 100%;
            }
            textarea{
                width: 100%;
            }
            p {                                                
                color: #969547;          
                font-size: 13px;
                margin: 0 0 15px;
                padding: 10px;                
                width: 600px;
            }
        </style>
    </head>
    <body>
        <div id="templatemo_content_right">
            <fieldset style="border: 1px dashed #e6e154; width: ">
                <legend style="color: #e6e154; font-size: 17px; padding-bottom: 10px;">What do you want to search for?</legend>                
                
                <form name="search-form" method="POST" action="http://localhost:8080/FinalProject/search_result.jsp" style="color: #e6e154; font-size: 15px; padding-bottom: 10px;">
                    <table>
                        <tr>
                            <td>Search: </td>
                            <td><input type="text" name="keyword" maxlength="50"/></td>                            
                            <td>
                                <select name="searchfor" id="searchfor">
                                    <option value="BookTitle">Book Title</option>
                                    <option value="Author">Author</option>
                                    <option value="Publisher">Publisher</option>
                                </select>                              
                            </td>
                        </tr>                                                
                        <tr>
                            <td></td>
                            <td><input  id="button" type="submit" value="Search"/></td>                            
                        </tr>
                    </table>
                </form>
            </fieldset>
        </div><!-- end of content right -->
    </body>
</html>
